VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / DecoderBase Class / GetThumbnail Methods / GetThumbnail(Int32,Size,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method
Syntax Requirements SeeAlso
In This Topic
    GetThumbnail(Int32,Size,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method (DecoderBase)
    In This Topic
    Returns a thumbnail image of the specified page of image/document source.
    Syntax
    'Declaration
    
    Public Overloads Function GetThumbnail( _
    ByVal pageIndex
    The zero-based page index in image/document source.
    As System.Int32, _
    ByVal size
    Size of the thumbnail.
    As System.Drawing.Size, _
    ByVal decodingSettings
    Decoding settings, which must be used for decoding the thumbnail of page.
    As DecodingSettings, _
    ByVal renderingSettings
    Rendering settings, which must be used for rendering the thumbnail of page.
    As RenderingSettings, _
    ByVal thumbnailLoadingProgress
    Delegate of the thumbnail loading progress. Can be set to null (Nothing in Visual Basic).
    As System.EventHandler(Of ProgressEventArgs) _
    ) As Vintasoft.Imaging.VintasoftImage

    Parameters

    pageIndex
    The zero-based page index in image/document source.
    size
    Size of the thumbnail.
    decodingSettings
    Decoding settings, which must be used for decoding the thumbnail of page.
    renderingSettings
    Rendering settings, which must be used for rendering the thumbnail of page.
    thumbnailLoadingProgress
    Delegate of the thumbnail loading progress. Can be set to null (Nothing in Visual Basic).

    Return Value

    A thumbnail image of the specified page of image/document source.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also